package com.xujianjie.goodsservice.service;

import com.xujianjie.goodsservice.model.Goods;

public interface GoodsService
{
    Goods findById(int id);

    boolean deductInventory(int goodsId, int count);
}